package jpf.nextsearch.front.model;

import java.util.List;
import java.util.Map;

import jpf.nextsearch.base.GenericControllerModel;
import jpf.nextsearch.ds.model.ResourceVO;
import jpf.nextsearch.search.model.SearchResponse;

/**
 * @author <a href="mailto:jacek.pruszkowski@gmail.com">Jacek Pruszkowski</a>
 */
public class SearchFormModel extends GenericControllerModel {

	private List<Integer> resourceTypes;
	private List<Integer> searchTypes;
	private List<Integer> serviceTypes;
	private Map<String, ResourceVO> result;
	
	private SearchResponse searchResponse; //XXXX do wywalenia bedzie

	public void setResult(Map<String, ResourceVO> result) {
		this.result = result;
	}

	public Map<String, ResourceVO> getResult() {
		return result;
	}

	public void setResourceTypes(List<Integer> resourceTypes) {
		this.resourceTypes = resourceTypes;
	}

	public List<Integer> getResourceTypes() {
		return resourceTypes;
	}

	public void setSearchResponse(SearchResponse searchResponse) {
		this.searchResponse = searchResponse;
	}

	public SearchResponse getSearchResponse() {
		return searchResponse;
	}

	public void setSearchTypes(List<Integer> searchTypes) {
		this.searchTypes = searchTypes;
	}

	public List<Integer> getSearchTypes() {
		return searchTypes;
	}

	public void setServiceTypes(List<Integer> serviceTypes) {
		this.serviceTypes = serviceTypes;
	}

	public List<Integer> getServiceTypes() {
		return serviceTypes;
	}

}
